[XEN] Make memory hypercalls NUMA-aware.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Oct 2006 11:30:08 +0000 (12:30 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Oct 2006 11:30:08 +0000 (12:30 +0100)
commitdfddb95579da3825306f598ba3a317da05f74fbd
tree54a8ddda56d02776aae3c36c48f87af55fcfd357
parentf0738d2d3f816f570cc27b765a8fa606bb772cc9
[XEN] Make memory hypercalls NUMA-aware.

This patch modifies memory ops to use the NUMA-aware page allocator
functions.  We use the target domain's VCPU0 placement to determine
which node's memory to use.  We expect the system administrator to
utilize the exposed NUMA topology information to help craft guest
config files that are NUMA-friendly (use only processors and memory values
that will fit within a given node).

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
xen/common/memory.c